package com.csvw.skr.newTask.entity.visit;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/12/9.
 */
@Entity
@Table(name = "csvw_skr_task_visit_plan_mission")
public class PlanMission {
    /**
     * 售前店访计划的ID， visit +　missionId
     */
    @Id
    @Column(name = "pk_id", length = 100)
    private String id;
    /**
     * 店访ID
     */
    private String visitId;
    /**
     * 任务Id
     */
    private String missionId;

    /**
     * 任务检查情况图片
     */
    private String pics;

    /**
     * 任务结果描述
     */
    private String resultDescription;

    /**
     * 任务检查出来的问题
     */
    private String problemId;

    /**
     * 任务是否检查通过
     */
    @Column(columnDefinition="int default 0")
    private int finish;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVisitId() {
        return visitId;
    }

    public void setVisitId(String visitId) {
        this.visitId = visitId;
    }

    public String getMissionId() {
        return missionId;
    }

    public void setMissionId(String missionId) {
        this.missionId = missionId;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public String getResultDescription() {
        return resultDescription;
    }

    public void setResultDescription(String resultDescription) {
        this.resultDescription = resultDescription;
    }

    public String getProblemId() {
        return problemId;
    }

    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }

    public int getFinish() {
        return finish;
    }

    public void setFinish(int finish) {
        this.finish = finish;
    }
}
